package org.example.service.impl;

import org.example.dao.ChanelMapper;
import org.example.pojo.ChannelDo;
import org.example.service.ChannelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public class ChannelServiceImpl implements ChannelService {

    @Autowired
    private ChanelMapper chanelMapper;

    @Override
    public List<ChannelDo> getAll() {
        return chanelMapper.selectList(null);
    }
}
